package cn.neusoft.mapper;

import cn.neusoft.domain.Customer;
import cn.neusoft.query.BaseQuery;
import java.util.List;


public interface CustomerMapper {

    void add(Customer customer);//新增用户
    void update(Customer customer);//修改用户
    void fakedelete(Customer customer);//伪删除用户（设del_flag为2）
    String findifOrder(String customer_id);//查询客户是否有过订单
    void delete(String customer_id);//删除用户
    List<Customer> findByPage(BaseQuery query);//分页查询
    List<Customer> finddelByPage(BaseQuery query);//分页查询伪删除客户

}
